import * as types from './types'
export default{
    [types.SET_TOKEN] (state, payload) {
	    state.token=payload
    },
    [types.SET_EXPIRES] (state, payload) {
	    state.expires=payload
    },
    [types.SET_REFRESHTOKEN](state,payload) {
        state.refreshToken = payload
    },
    [types.SET_MENUACTIVE](state,payload) {
        state.menuActive = payload
    },
    [types.SET_MENUOPEN](state,payload) {
        state.menuOpen = payload
    },
    [types.SET_MENUINDEX](state,payload) {
        state.menuIndex = payload
    },
    [types.SET_SPINSHOW](state,payload) {
        state.spinShow = payload
    },
    [types.SET_MENUDATA](state,payload) {
        state.menuData = payload
    },
    [types.SET_USERINFO](state,payload) {
        state.userInfo = payload
    },
    [types.SET_WELISTEN_ORDER](state,payload){
        state.welisten.order=payload
    }
    
}
